[INFO] cloning repository https://github.com/saadou11/ppm_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/saadou11/ppm_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaadou11%2Fppm_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaadou11%2Fppm_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c5fefc2f77f39a461f9ac52d21a7a1697a593831
[INFO] building saadou11/ppm_rust against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaadou11%2Fppm_rust" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/saadou11/ppm_rust on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/saadou11/ppm_rust
[INFO] finished tweaking git repo https://github.com/saadou11/ppm_rust
[INFO] tweaked toml for git repo https://github.com/saadou11/ppm_rust written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/saadou11/ppm_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-3/source/src/main.rs
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded scopeguard v0.2.0
[INFO] [stderr]   Downloaded map_in_place v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] f0f2e7f2367853a8130aba63db59e236834c51a05893c55358bb2ad02d0d9519
[INFO] running `Command { std: "docker" "start" "-a" "f0f2e7f2367853a8130aba63db59e236834c51a05893c55358bb2ad02d0d9519", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f0f2e7f2367853a8130aba63db59e236834c51a05893c55358bb2ad02d0d9519", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0f2e7f2367853a8130aba63db59e236834c51a05893c55358bb2ad02d0d9519", kill_on_drop: false }`
[INFO] [stdout] f0f2e7f2367853a8130aba63db59e236834c51a05893c55358bb2ad02d0d9519
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b5a5126b0d018f8b0c2005d9b0213dd26aa64c3eef24bc1b2a19e087715e7f64
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b5a5126b0d018f8b0c2005d9b0213dd26aa64c3eef24bc1b2a19e087715e7f64", kill_on_drop: false }`
[INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/src/main.rs
[INFO] [stderr]    Compiling ppm v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling scopeguard v0.2.0
[INFO] [stderr]    Compiling map_in_place v0.1.0
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/main.rs:111:51
[INFO] [stdout]     |
[INFO] [stdout] 111 |             let mut buf = vec![Pixel::new(0,0,0); (self.heigth  * self.width )];
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/main.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |      fn new(red: u8, green: u8, blue: u8) -> Pixel {
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_red`
[INFO] [stdout]   --> src/main.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn get_red (self) -> u8 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_green`
[INFO] [stdout]   --> src/main.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn get_green (self) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_blue`
[INFO] [stdout]   --> src/main.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn get_blue (self) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `invert`
[INFO] [stdout]   --> src/main.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |      fn invert (&self) -> Pixel{
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `grayscale`
[INFO] [stdout]   --> src/main.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn grayscale (&self) -> Pixel{
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/main.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |          fn new(header:String, max_color: u8,width: usize, heigth: usize,pixel_vec:Vec<Pixel>) -> Image {
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_width`
[INFO] [stdout]   --> src/main.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |          fn get_width(&self) -> usize{
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_height`
[INFO] [stdout]   --> src/main.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |          fn get_height(&self) -> usize {
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_max_color`
[INFO] [stdout]   --> src/main.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |          fn get_max_color(&self) -> u8 {
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `invert`
[INFO] [stdout]   --> src/main.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |          fn invert(&self)-> Image {
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `gray_scale`
[INFO] [stdout]    --> src/main.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |          fn gray_scale(&self)-> Image {
[INFO] [stdout]     |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `save`
[INFO] [stdout]    --> src/main.rs:129:13
[INFO] [stdout]     |
[INFO] [stdout] 129 |          fn save (&self , path :&Path) -> io::Result<()>  {
[INFO] [stdout]     |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `new_with_file`
[INFO] [stdout]    --> src/main.rs:163:4
[INFO] [stdout]     |
[INFO] [stdout] 163 | fn new_with_file<'a>(path: &'a str) -> Image {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `filename_to_string`
[INFO] [stdout]    --> src/main.rs:185:4
[INFO] [stdout]     |
[INFO] [stdout] 185 | fn filename_to_string(s: &str) -> io::Result<String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `words_by_line`
[INFO] [stdout]    --> src/main.rs:192:4
[INFO] [stdout]     |
[INFO] [stdout] 192 | fn words_by_line<'a>(s: &'a str) -> Vec<Vec<&'a str>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `square`
[INFO] [stdout]    --> src/main.rs:202:5
[INFO] [stdout]     |
[INFO] [stdout] 202 |     fn square(val: i32) -> i32;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `ppma_write_test`
[INFO] [stdout]    --> src/main.rs:203:6
[INFO] [stdout]     |
[INFO] [stdout] 203 |      fn ppma_write_test ( file_out_name: *const u8);
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `ppma_read_test`
[INFO] [stdout]    --> src/main.rs:204:5
[INFO] [stdout]     |
[INFO] [stdout] 204 |     fn ppma_read_test ( inputname: *const u8 );
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `read_ppm`
[INFO] [stdout]    --> src/main.rs:208:4
[INFO] [stdout]     |
[INFO] [stdout] 208 | fn read_ppm (a:&str){
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `write_ppm`
[INFO] [stdout]    --> src/main.rs:214:4
[INFO] [stdout]     |
[INFO] [stdout] 214 | fn write_ppm (a:&str){
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `main`
[INFO] [stdout]    --> src/main.rs:228:4
[INFO] [stdout]     |
[INFO] [stdout] 228 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-Wl,--as-needed" "-L" "/opt/rustwide/rustup-home/toolchains/881c1ac408d93bb7adaa3a51dabab9266e82eee8/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/src.src.e45jm60n-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/src.src.e45jm60n-cgu.1.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/libsrc.so" "-Wl,--version-script=/tmp/rustccgVwUk/list" "/opt/rustwide/target/debug/deps/src.hm0qxppf8j51786.rcgu.o" "/opt/rustwide/target/debug/deps/src.1f8h911yehn1rkzx.rcgu.o" "-shared" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/home/saadou/Documents/M1/Rust/ppm_rust/src" "-L" "/opt/rustwide/rustup-home/toolchains/881c1ac408d93bb7adaa3a51dabab9266e82eee8/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lppma_io" "-Wl,--start-group" "-Wl,-Bstatic" "-Wl,--whole-archive" "/tmp/rustccgVwUk/libstd-c6dddd3d354e6bea.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustccgVwUk/libpanic_unwind-c2ca47afdcc5e309.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustccgVwUk/libminiz_oxide-b47be2942017e108.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustccgVwUk/libadler-20a1e49116ab0df9.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustccgVwUk/libobject-25e09d9868291683.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustccgVwUk/libaddr2line-9c99fb6e5ca5159e.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustccgVwUk/libgimli-85040d7563599960.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustccgVwUk/libstd_detect-0e4f7587da8acf20.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustccgVwUk/librustc_demangle-7be0a6711ed15b5c.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustccgVwUk/libhashbrown-00672fabc4ff9c9d.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustccgVwUk/librustc_std_workspace_alloc-72fe231ef0473d15.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustccgVwUk/libunwind-019d54ecc304b655.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustccgVwUk/libcfg_if-cc7d9343e4f608be.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustccgVwUk/liblibc-e41c6d24baeb2249.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustccgVwUk/liballoc-9849bb0fbad7f0f5.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustccgVwUk/librustc_std_workspace_core-a1fd7734706d5518.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustccgVwUk/libcore-c8ded1707ad10767.rlib" "-Wl,--no-whole-archive" "-Wl,--end-group" "/tmp/rustccgVwUk/libcompiler_builtins-8b33f9cbbc9652fe.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lppma_io
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 23 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ppm`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "b5a5126b0d018f8b0c2005d9b0213dd26aa64c3eef24bc1b2a19e087715e7f64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b5a5126b0d018f8b0c2005d9b0213dd26aa64c3eef24bc1b2a19e087715e7f64", kill_on_drop: false }`
[INFO] [stdout] b5a5126b0d018f8b0c2005d9b0213dd26aa64c3eef24bc1b2a19e087715e7f64
